package com.drivers.user.service;

import com.drivers.model.user.CountMoney;
import com.drivers.model.user.FindId;
import com.drivers.model.user.User;

import java.util.List;

public interface UserService {
    User findUser(Integer id);

    void updatePoint(Integer driverPoint, Integer id);

    User loginName(String name);

    int loginPassword(Integer id, String password);

    void userRegister(User user);

    int updateAssetsQuan(Integer id);

    int updateAssetsId(Integer assets, Integer id);

    List<CountMoney> findCountMoney(Integer id);

    CountMoney findByIdCountMoney(FindId id);

    Object findPhone(String phone);

    Object findName(String driverName);
}
